package com.wukaige.goods.service.impl;

import com.wukaige.goods.entity.City;
import com.wukaige.goods.mapper.CityMapper;
import com.wukaige.goods.service.ICityService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 城市表 服务实现类
 * </p>
 *
 * @author wukaige
 * @since 2021-07-20
 */
@Service
public class CityServiceImpl extends ServiceImpl<CityMapper, City> implements ICityService {

    @Override
    public List<City> getcity() {
        return baseMapper.getcity();
    }

    @Override
    public City getcitybyid(Integer cityid) {
        return baseMapper.getcitybyid(cityid);
    }
}
